package com.health.db.dao.msg.impl;

import java.util.List;

import com.health.db.dao.ServiceInterface;
import com.health.db.dao.msg.IHospitalSpecimenDao;
import com.health.db.mapper.HospitalSpecimenMapper;
import com.health.db.model.HospitalSpecimen;
import com.health.db.model.HospitalSpecimenExample;

public class HospitalSpecimenDaoImpl   extends ServiceInterface implements IHospitalSpecimenDao {

    private HospitalSpecimenMapper hospitalSpecimenMapper;
    
	public HospitalSpecimenMapper getHospitalSpecimenMapper() {
		return hospitalSpecimenMapper;
	}

	public void setHospitalSpecimenMapper(
			HospitalSpecimenMapper hospitalSpecimenMapper) {
		this.hospitalSpecimenMapper = hospitalSpecimenMapper;
	}

	@Override
	public long countByExample(HospitalSpecimenExample example) {
		// TODO Auto-generated method stub
		return hospitalSpecimenMapper.countByExample(example);
	}

	@Override
	public int insert(HospitalSpecimen record) {
		// TODO Auto-generated method stub
		return hospitalSpecimenMapper.insert(record);
	}

	@Override
	public int insertSelective(HospitalSpecimen record) {
		// TODO Auto-generated method stub
		return hospitalSpecimenMapper.insertSelective(record);
	}

	@Override
	public List<HospitalSpecimen> selectByExample(
			HospitalSpecimenExample example) {
		// TODO Auto-generated method stub
		return hospitalSpecimenMapper.selectByExample(example);
	}

	@Override
	public HospitalSpecimen selectByPrimaryKey(Long id) {
		// TODO Auto-generated method stub
		return hospitalSpecimenMapper.selectByPrimaryKey(id);
	}
 
}